<?php 
get_header(); 
?>


<div id="blog" class="span-12 colborder">
<?php $first=true; while(have_posts()): the_post(); global $post; ?>
    <div id="post-excerpt">
        <h1 id="postTitle"><a href="<?php the_permalink();?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a>&nbsp;<a href="<?php comments_link(); ?>" class="commentsLink">(<?php echo get_comments_number() == '-1' ? '0' : get_comments_number(); ?>)</a></h1>
        <span class="postInfo quiet small">Ajouté le <?php echo format_date($post->post_date); ?>, sous <?php the_category(','); ?></span>
        <hr/>    
         <p>
            <?php echo exc($post->post_content, 400); ?>
        </p>
    </div>
<?php endwhile; ?>
</div>
<div class="box span-3 last">
            <p>Par catégorie: <?php wp_list_categories('style=none'); ?> </p>
            <p>Par date: <?php wp_get_archives('type=monthly&echo=1&format=c&after=<br/>'); ?></p>
</div>
<div class="alignCenter span-17"><p><?php posts_nav_link(' &#8212; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?></p></div>

<?php get_footer(); ?>